<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/favicon.ico">
	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="__UU__/lib/lib/html5.js"></script>
	<script type="text/javascript" src="__UU__/lib/lib/respond.min.js"></script>
	<script type="text/javascript" src="__UU__/lib/lib/PIE_IE678.js"></script>
	<![endif]-->
	<link href="__UU__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/style.css" rel="stylesheet" type="text/css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="__UU__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<title>活动列表</title>
</head>
<body>
	<div class="pd-20">
		<table class="table table-border table-bordered table-bg table-sort search-table">
			<thead>
				<tr class="text-c">
					<th>活动名称</th>
					<th>活动类型</th>
					<th>费用类型</th>
					<th>参加人数</th>
					<th>发布时间</th>
				</tr>
			</thead>
			<tbody>
				<tr data-id="1">
					<td>跳楼集合令</td>
					<td>公益</td>
					<td>收费</td>
					<td>0/100</td>
					<td>2016-02-15 18:00:00</td>
				</tr>
				<tr data-id="2">
					<td>飙车党</td>
					<td>公益</td>
					<td>收费</td>
					<td>0/100</td>
					<td>2016-02-15 18:00:00</td>
				</tr>
			</tbody>
		</table>
		<div class="mt-20 text-c">
			<button type="button" class="btn btn-danger radius" id="enter">确定</button>
		</div>
	</div>
<script type="text/javascript" src="__UU__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__UU__/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.admin.js"></script>
<script type="text/javascript">
	$(function (){
		$('.search-table tbody tr').click(function (){
			$(this).addClass('current').siblings().removeClass('current');
		});
		$('#enter').click(function (){
			var node = $('.search-table tbody tr.current')
			if( node.length < 1 ){
				layer.msg("请选择活动");
				return ;
			}
			var nodeid = node.attr('data-id');
			window.parent.activity('<tr dara-id="'+nodeid+'">'+node.html() + '</tr>' , nodeid);	
			layer_close()
		});
	})
</script>
<script>
</script>
</body>
</html>
